using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

using SypConst.Garbage;
using SypEngine;
using SypGui.CreateForms;


namespace SypGui.ConnectionUC
{
    public class SypUCConnection :  SypUserControl
    {
        public ConnectionMode connMode;


        public SypUCConnection() : base (){ }

        public SypUCConnection(SetText outputMethod)
            : base(outputMethod)
        {
        }

        public override void ProcessConfig()
        {
            if (SiteId != -1)
            {
                string cmd = "local-synchronise" + SypGarbage.COMMAND_SEPARATOR + SiteId + SypGarbage.COMMAND_SEPARATOR + SypGarbage.COMMAND_SEPARATOR + 42;
                OutputMethod(cmd, Output.OUT);
                OutputMethod(cmd, Output.COMMAND);
            }
        }
    }
}
